home *** CD-ROM | disk | FTP | other *** search
/ Nautilus 1992 July / Nautilus-3-8 / Nautilus-3-8.bin / Tools & Utilities / Techy Stuff / Doco ƒ / CSMP ƒ / CSMP-V1-089.TXT < prev    next >
Encoding:
Text File  |  1992-06-30  |  46.5 KB  |  1,257 lines

  1. C.S.M.P. Digest             Thu, 21 May 92       Volume 1 : Issue 89
  2.  
  3. Today's Topics:
  4.  
  5.     adding menu item to finder
  6.     File question in C
  7.     Sound Manager Quickie Question
  8.     adsp buffer size and blocking -- you MUST have had this
  9.     MPW Cs Preprocessor
  10.     What is the current status of MacTutor?
  11.     Printing
  12.     programming editor for Quadra
  13.     What's the best debugger?
  14.  
  15.  
  16. The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly.
  17.  
  18. These digests are available (by using FTP, account anonymous, your email
  19. address as password) in the pub/mac/csmp-digest directory on ftp.cs.uoregon.
  20. edu.  This is also the home of the comp.sys.mac.programmer Frequently Asked
  21. Questions list.  The last several issues of the digest are available from
  22. sumex-aim.stanford.edu as well.
  23.  
  24. These digests are also available via email.  Just send a note saying that you
  25. want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will
  26. automatically receive each new digest as it is created.
  27.  
  28. The digest is a collection of articles from the internet newsgroup comp.sys.
  29. mac.programmer.  It is designed for people who read c.s.m.p. semi-regularly
  30. and want an archive of the discussions.  If you don't know what a newsgroup
  31. is, you probably don't have access to it.  Ask your systems administrator(s)
  32. for details.  (This means you can't post questions to the digest.)
  33.  
  34. The articles in these digests are taken directly from comp.sys.mac.programmer.
  35. They are not edited; all articles included in this digest are in their original
  36. posted form.  The only articles that are -not- included in these digests are
  37. those which didn't receive any replies (except those that give information
  38. rather than ask a question).  All replies to each article are concatenated
  39. onto the original article in the order in which they were received.  Article
  40. threads are not added to the digests until the last article added to the
  41. thread is at least one month old (this is to ensure that the thread is dead
  42. before adding it to the digests).
  43.  
  44. Send administrative mail to mkelly@cs.uoregon.edu.
  45.  
  46. -------------------------------------------------------
  47.  
  48. From: ashby@odin.unomaha.edu (Brad Ashby)
  49. Subject: adding menu item to finder
  50. Organization: University of Nebraska at Omaha
  51. Date: Sun, 19 Apr 1992 15:10:11 GMT
  52.  
  53. Does anyone know if it is possible to add a menu item to one of
  54. the menu items on the finder?  What I want to do is add an item on
  55. the 'View' menu, to view by creation date.  Can anyone give me a
  56. pointer on how to accomplish this?
  57.  
  58.  
  59.  
  60.  
  61. +++++++++++++++++++++++++++
  62.  
  63. From: unity@mcl.mcl.ucsb.edu (Pete Gontier)
  64. Date: 20 Apr 92 05:51:33 GMT
  65.  
  66. In <ashby.703696211@odin> ashby@odin.unomaha.edu (Brad Ashby) writes:
  67.  
  68. >Does anyone know if it is possible to add a menu item to one of
  69. >the menu items on the finder?  What I want to do is add an item on
  70. >the 'View' menu, to view by creation date.  Can anyone give me a
  71. >pointer on how to accomplish this?
  72.  
  73. There are two parts to your problem. One is adding the menu -- that's
  74. a simple matter of patching MenuSelect and DrawMenuBar and doing the
  75. appropriate thing to create the illusion that the menu is there. Or,
  76. just patch DrawMenuBar and insert a menu which belongs to a driver
  77. you've installed -- and in this case, you can leave it in the bar.
  78. Check, of course, that you've got Finder before you go installing
  79. menus; you can do this in System 7 with GetProcessInfo, and in
  80. System 6 I suppose you can just see if CurApName (in low memory) looks
  81. something like "Finder" (there are probably better ways).
  82.  
  83. The real challenge, however, is in getting Finder to cooperate with
  84. your view idea. Finder is just another application, and it has code
  85. and data structures just like any other application. Persuading it to
  86. do something it was not designed to do is not a simple matter of passing
  87. it a parameter. Unless you find that Finder actually does have code to
  88. view by creation date and it just happens not to be using it, you're
  89. out of luck.
  90. - --
  91.  Pete Gontier // EC Technology // unity@mcl.ucsb.edu
  92.  
  93. ---------------------------
  94.  
  95. From: ian@umiami.ir.miami.edu
  96. Subject: File question in C
  97. Date: 19 Apr 92 12:08:48 EDT
  98. Organization: Univ of Miami IR
  99.  
  100. Hello all,
  101.  
  102.     I have what is porbably a simple question but I just can't figure it
  103. out. I'm using Think C 5.0 and trying to open a file fro writing...I use
  104. StandardPutFile() to get a StandardFileReply...then call FSpCreate to create
  105. the file, then FSpOpenDF to open the files data fork...all of these calls
  106. return a Zero error code...(no error, right).... but when I then call FsWrite
  107. I get a -34 (Which seems to be a disk full error) and the disk is certainly 
  108. not full...
  109. the code looks like this...it compiles...and I double checked all the types
  110. to make sure they are correct..
  111.  
  112. StandardPutFile("\pFilename:",filename,&reply);
  113.  
  114. if (reply.sfGood)
  115.     rc = FSpCreate (&(reply.sfFile),creator,fileType,reply.sfScript);
  116. else
  117.     return;
  118. rc = FSpOpenDF (&(reply.sfFile),fsWrPerm,&refNum);
  119. rc = SetFPos (refNum,fsFromStart,0);
  120. rc = FSWrite (refNum,&bufCount,(Ptr)buffer);
  121.  
  122. Anyone have any suggestions?
  123. Thanx
  124. - -- 
  125. Ian Sullivan
  126. *******************************************************************************
  127. **ian@umbio.med.miami.edu      %   "Friendly Fire"..There is no such thing   **
  128. **ian@umiami.ir.miami.edu      %    Remember your gun was made by the        **
  129. **ian@umiami.bitnet            %    lowest bidder.                           **
  130. **ian@impala.ir.miami.edu      %                                             **
  131. **                             %                                             **
  132. **UUU    UMUMMM     MMMMMM     %                                             **
  133. **UUU    UMU MMM   MMM MMM     %   "Skate to Kill--Kill to Skate"            **
  134. **uUU    UMU  MMM MMM  MMM     %   "Life's been good to me so far..." -J.W.  **
  135. **UUUUUUUUMUof MMMMM   MMM     %   "Give it a while." -Me.                   **
  136. *******************************************************************************
  137. Yes..yes...I know I spelled it wrong......whatever it was. ;)
  138.  
  139. +++++++++++++++++++++++++++
  140.  
  141. From: d88-jwa@dront.nada.kth.se (Jon W{tte)
  142. Date: 19 Apr 92 20:17:49 GMT
  143. Organization: Royal Institute of Technology, Stockholm, Sweden
  144.  
  145. > ian@umiami.ir.miami.edu writes:
  146.  
  147.    rc = FSWrite (refNum,&bufCount,(Ptr)buffer);
  148.  
  149.    Anyone have any suggestions?
  150.  
  151. Are you sure bufCount is a long integer ?
  152.  
  153.    [ 20 lines .sig deleted ]
  154.  
  155. Your .sig is gross. Think of all the people receiving News by 2400
  156. baud.
  157.  
  158. - -- 
  159. "You should meet yourself someday. I'm sure you would hate it."
  160. - - Me: h+@nada.kth.se; Jon W{tte (The Diplomat - NOT!)
  161.  
  162. +++++++++++++++++++++++++++
  163.  
  164. From: neeri@iis.ethz.ch (Matthias Ulrich Neeracher)
  165. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  166. Date: Sun, 19 Apr 1992 21:07:52 GMT
  167.  
  168. d88-jwa@dront.nada.kth.se (Jon W{tte) writes:
  169. >> ian@umiami.ir.miami.edu writes:
  170. >>  rc = FSWrite (refNum,&bufCount,(Ptr)buffer);
  171. >>
  172. >>  Anyone have any suggestions?
  173.  
  174. >Are you sure bufCount is a long integer ?
  175.  
  176. And especially, are you sure you set bufCount to a reasonable value before 
  177. writing ? 
  178.  
  179. >   [ 20 lines .sig deleted ]
  180.  
  181. >Your .sig is gross. 
  182.  
  183. Seconded.
  184.  
  185. Matthias
  186.  
  187. - -----
  188. Matthias Neeracher                                      neeri@iis.ethz.ch
  189.  `We say "gestalt" when things combine to act in ways we can't explain'
  190.                              -- Marvin Minsky, _The Society Of Mind_
  191.  
  192. ---------------------------
  193.  
  194. From: cfejm@ux1.cts.eiu.edu (John Miller)
  195. Subject: Sound Manager Quickie Question
  196. Date: 19 Apr 92 18:05:55 GMT
  197. Organization: Eastern Illinois University
  198.  
  199.  
  200. Hi All,
  201.  
  202. How do you get rid of the clicks and pops just before the first sampled
  203. sound after opening a sound channel?
  204.  
  205. Thanks,
  206.  
  207. John
  208.  
  209.  
  210. - -- 
  211. John Miller
  212. Music Theory
  213. Eastern Illinois University
  214.  
  215. +++++++++++++++++++++++++++
  216.  
  217. From: flaps@dgp.toronto.edu (Alan J Rosenthal)
  218. Organization: Dynamic Graphics Project, University of Toronto
  219. Date: 19 Apr 92 18:57:04 GMT
  220.  
  221. cfejm@ux1.cts.eiu.edu (John Miller) writes:
  222. >How do you get rid of the clicks and pops just before the first sampled
  223. >sound after opening a sound channel?
  224.  
  225. You pad the end of the previous sound you played (on that channel?) with 128s.
  226. Strange but true.  I have no idea how many 128s, but the size of the buffer on
  227. the chip is 1K, so 1K of 'em should suffice.
  228.  
  229. This is assuming that your sound itself doesn't have clicks in it.  If
  230. you just chop signals up, you introduce clicks (think of what it would do
  231. to a fourier analysis at that point).  You have to put in an attack and a
  232. decay.  (SoundEdit's "envelope" feature allows you to do this.)
  233.  
  234. ---------------------------
  235.  
  236. From: flaps@dgp.toronto.edu (Alan J Rosenthal)
  237. Subject: adsp buffer size and blocking -- you MUST have had this
  238. Date: 19 Apr 92 19:53:17 GMT
  239. Organization: Dynamic Graphics Project, University of Toronto
  240.  
  241.  
  242. Even though this isn't in the faq, it must be a common problem for anyone
  243. writing adsp code, or I'm doing something really really wrong.
  244.  
  245. I've written a non-trivial library of adsp and related code.  It works in all
  246. respects but one:  Under circumstances I can't predict, the sender waits, not
  247. sending, forever.  This is remedied by increasing the buffer size (I'm not sure
  248. whether on the receiving or sending end, since I did both).  However, this
  249. waiting has two strange characteristics:  one, it happens even though the
  250. buffers are large enough (yes, I know about the minimum size; one example is in
  251. sending 3000-byte messages with a 3000-byte buffer), and two, it reports that
  252. ZERO bytes have been sent so far, i.e. it doesn't manage to send ANY of it.
  253.  
  254. Does this sound familiar to anyone, or do I have to produce a sample program
  255. for y'all to look at?  (I've been putting off posting for months because I
  256. haven't gotten around to it...)  Unless I'm doing really something weird, it
  257. seems that most people must run into this problem.
  258.  
  259. thanks for any help,
  260. ajr
  261.  
  262. +++++++++++++++++++++++++++
  263.  
  264. From: rsherman@mthvax.cs.miami.edu (Roby Sherman)
  265. Date: 20 Apr 1992 09:37:08 -0400
  266. Organization: The Tao of Programming
  267.  
  268. In <92Apr19.155300edt.144003@explorer.dgp.toronto.edu> flaps@dgp.toronto.edu (Alan J Rosenthal) writes:
  269.  
  270.  
  271. >Even though this isn't in the faq, it must be a common problem for anyone
  272. >writing adsp code, or I'm doing something really really wrong.
  273.  
  274. >I've written a non-trivial library of adsp and related code.  It works in all
  275. >respects but one:  Under circumstances I can't predict, the sender waits, not
  276. >sending, forever.  This is remedied by increasing the buffer size (I'm not sure
  277. >whether on the receiving or sending end, since I did both).  However, this
  278. >waiting has two strange characteristics:  one, it happens even though the
  279. >buffers are large enough (yes, I know about the minimum size; one example is in
  280. >sending 3000-byte messages with a 3000-byte buffer), and two, it reports that
  281. >ZERO bytes have been sent so far, i.e. it doesn't manage to send ANY of it.
  282.  
  283. >Does this sound familiar to anyone, or do I have to produce a sample program
  284. >for y'all to look at?  (I've been putting off posting for months because I
  285. >haven't gotten around to it...)  Unless I'm doing really something weird, it
  286. >seems that most people must run into this problem.
  287.  
  288. I ran into this problem while I was working on a network game. The problem
  289. with small buffers is that when you send data out to a destination, if that
  290. recipient is not ready to receive your transmission, it will sit in your
  291. buffer until he is. If your buffer is small, it will hang as soon as you use
  292. up all of your buffer space. The solution is to put in MORE polling checks,
  293. so that if your friend is in a dialog or something, it will not hang. I
  294. ended up putting a poll request in my event loop and and made a filter
  295. routine for my dialogs and alerts that polled for ADSP transmissions as
  296. well, that took care of most all my problems except for one. *IF* the
  297. recipient went to the menu bar and help down the mouse too long while
  298. selecting an item, the queue would stack up again causing the same problem.
  299. The only way around this is to make a larger buffer and PRAY that they are
  300. not incredibly slow with going to menu selections.
  301.  
  302.  
  303.  
  304.             --Roby
  305. - -- 
  306. rsherman@mthvax.cs.miami.edu                    Roby Sherman
  307.  
  308. +++++++++++++++++++++++++++
  309.  
  310. From: flaps@dgp.toronto.edu (Alan J Rosenthal)
  311. Date: 20 Apr 92 15:57:32 GMT
  312. Organization: Dynamic Graphics Project, University of Toronto
  313.  
  314. rsherman@mthvax.cs.miami.edu (Roby Sherman) writes:
  315. >The problem with small buffers is that when you send data out to a
  316. >destination, if that recipient is not ready to receive your transmission, it
  317. >will sit in your buffer until he is.
  318.  
  319. I have a buffer size equal to my message size, and there is nothing using too
  320. much cpu time on either machine, nor is the mouse being held down, and it's
  321. just sitting there looping and printfing that it has sent zero bytes so far!
  322. (It also hangs without the printfs.)  The problem went away when I upped the
  323. buffer size (somewhat randomly), but I need to know how much larger I have to
  324. make the buffer than my maximum message size to avoid this situation!
  325.  
  326. ---------------------------
  327.  
  328. From: jahnke@biosci.arizona.edu (Jerome Jahnke)
  329. Subject: MPW Cs Preprocessor
  330. Date: 20 Apr 92 05:13:58 GMT
  331. Organization: Biology Learning Center
  332.  
  333. Boy, It seems sometimes the dumbest things happen late at night. I have been
  334. working on some software. In my #defines is a statement which looks something
  335. like this:
  336.  
  337. #define TimeStamp (char *) "Some stuff on "__DATE__" at "__TIME__" MST."
  338.  
  339. OK now I do understand how proprocessors are supposed to work, or at least I 
  340. thought I did. Because from Think C's PreProcessor I get:
  341.  
  342. printf("%s", "Some stuff on Apr 19 1992 at 21:39:21 MST.");
  343.  
  344. This is cool and EXACTLY what I want. Think C is resolving __TIME__ and 
  345. __DATE__ and then concatenating two or more successive string constants.
  346.  
  347. What does MPW C do??
  348.  
  349. printf("%s","Some stuff on ""Apr 19 1992"" at ""21:40:37"" MST.");
  350.  
  351. And of course we all know that the compiler will choke on that as surely as I
  352. would a week old chicken bone. What it looks like MPW C is doing is
  353. concatenating string FIRST and then resolving reserved symbols. This to my 
  354. mind is a braindead way of doing this.
  355.  
  356. Does anyone out there know how I can script this into a make file, so I don't
  357. have to use toolbox commands to do something just to get my statement to print
  358. out? I need to time stamp some stuff, and really thought the preprocessor 
  359. could handle it for me. I think I will port my sample to a unix machine
  360. tomorrow to see how THEY handle it. But I would think it would be reserved 
  361. symbols first and then string concatenation.
  362.  
  363. Anyway, any help would be appreciated, and if someone could tell me if I am
  364. being too picky, or if this is a bonna-fida bug, and might get fixed for 
  365. ETO 8?
  366.  
  367. I am using C v3.2.1
  368.  
  369. Jer,
  370. - ----
  371. Jerome Jahnke
  372. Biology Learning Center
  373. University of Arizona
  374. 'jahnke@biosci.arizona.edu' or +1 (602) 621-3820
  375.  
  376. +++++++++++++++++++++++++++
  377.  
  378. From: mlanett@void.ncsa.uiuc.edu (Mark Lanett)
  379. Organization: University of Illinois at Urbana
  380. Date: Mon, 20 Apr 1992 07:14:53 GMT
  381.  
  382. jahnke@biosci.arizona.edu (Jerome Jahnke) writes:
  383.  
  384. >Anyway, any help would be appreciated, and if someone could tell me if I am
  385. >being too picky, or if this is a bonna-fida bug, and might get fixed for 
  386. >ETO 8?
  387.  
  388. Well, now you've done it. You've gone and published an Apple bug on the net.
  389. Now they know that someone's working around it and will *never* fix it, because
  390. that would break existing software!
  391.  
  392. Well. Apple's MPW 3.1 docs discuss their stupid cpp and they haven't fixed it 
  393. yet. Don't expect it for ETO8.
  394.  
  395. Here's some stuff from one of my makefiles:
  396.  
  397. Version.r D Version.h
  398.     Echo "// Tool version ID strings (for use in rez)" > Version.h
  399.     Echo '#define VersPackageLong "NCSA Macintosh Tool 1.0"'  >> Version.h
  400.     Echo '#define VersPackageShort "1.0"' >> Version.h
  401.     Echo '#define VersProgramLong "1.0.0, '`Date -a`'"' >> Version.h
  402.     Echo '#define VersProgramShort "1.0.0"' >> Version.h
  403.     #SetFile -m . Version.r
  404.  
  405. Version.h D every_time
  406.  
  407. every_time D
  408.     # this line intentionally left blank
  409.  
  410. The "D" is an option-f (too tired to fix it, and haven't convinced Scott to put
  411. in code in Telnet to map 8-bit Mac characters yet).
  412.  
  413. Here's Version.r:
  414.  
  415. #include "SysTypes.r"
  416. #include "Version.h"
  417.  
  418. Resource 'vers' (2, purgeable)
  419. {
  420.     0x02, 0x00, beta, 0x03, verUs,
  421.     VersPackageShort,
  422.     VersPackageLong;
  423. };
  424.  
  425. Resource 'vers' (1, purgeable)
  426. {
  427.     0x02, 0x00, beta, 0x03, verUs,
  428.     VersProgramShort,
  429.     VersProgramLong;
  430. };
  431.  
  432.  
  433. This will rez *every* time so I've disabled it. I think that #setfile will
  434. reenable it, but, hey, you're a programmer and this is the source, so if it's
  435. broke, you can fix it.
  436.  
  437. Mark L
  438. - -- 
  439. Mark Lanett, Software Tools Group, NCSA; mlanett@uiuc.edu; NCSA.STG (AppleLink)
  440.  
  441. +++++++++++++++++++++++++++
  442.  
  443. From: d88-jwa@dront.nada.kth.se (Jon W{tte)
  444. Date: 20 Apr 92 09:39:45 GMT
  445. Organization: Royal Institute of Technology, Stockholm, Sweden
  446.  
  447. > jahnke@biosci.arizona.edu (Jerome Jahnke) writes:
  448.  
  449.    #define TimeStamp (char *) "Some stuff on "__DATE__" at "__TIME__" MST."
  450.  
  451.    thought I did. Because from Think C's PreProcessor I get:
  452.    printf("%s", "Some stuff on Apr 19 1992 at 21:39:21 MST.");
  453.  
  454.    What does MPW C do??
  455.    printf("%s","Some stuff on ""Apr 19 1992"" at ""21:40:37"" MST.");
  456.  
  457. New-style string constants can be written as several constants:
  458.  
  459. "this " "is " "one " "constant."
  460.  
  461. Try just adding spaces around __DATE__ and __TIME__
  462.  
  463. - -- 
  464. "You should meet yourself someday. I'm sure you would hate it."
  465. - - Me: h+@nada.kth.se; Jon W{tte (The Diplomat - NOT!)
  466.  
  467. +++++++++++++++++++++++++++
  468.  
  469. From: creiman@void.ncsa.uiuc.edu (Charlie Reiman)
  470. Organization: University of Illinois at Urbana
  471. Date: Mon, 20 Apr 1992 20:15:33 GMT
  472.  
  473. d88-jwa@dront.nada.kth.se (Jon W{tte) writes:
  474.  
  475. >> jahnke@biosci.arizona.edu (Jerome Jahnke) writes:
  476. >   #define TimeStamp (char *) "Some stuff on "__DATE__" at "__TIME__" MST."
  477. >   thought I did. Because from Think C's PreProcessor I get:
  478.  
  479. >   printf("%s", "Some stuff on Apr 19 1992 at 21:39:21 MST.");
  480.  
  481. >   What does MPW C do??
  482.  
  483. >   printf("%s","Some stuff on ""Apr 19 1992"" at ""21:40:37"" MST.");
  484.  
  485. >New-style string constants can be written as several constants:
  486. >"this " "is " "one " "constant."
  487. >Try just adding spaces around __DATE__ and __TIME__
  488.  
  489. Yes and no. This is legal ANSI, but (as noted by Mark) MPW's cpp is busted
  490. big time. If I could find my @$%@# manual, I'd quote the "Known Bugs"
  491. section and let you know what the story is. Unfortunately, I must wing it.
  492.  
  493. The problem is that string concatenation only works when NONE of the
  494. strings parts are the result of a macro expansion. (Or something along
  495. those lines).
  496.  
  497. This program will not compile:
  498.  
  499. >#define FOO "a string.\n";
  500. >
  501. >main() {
  502. >    printf("This is" FOO);
  503. >    }
  504.  
  505. This program will compile just fine:
  506.  
  507. >main() {
  508. >    printf("This is" "a string.\n");
  509. >    }
  510.  
  511. It looks like someone decided to detect string concatenation a few
  512. passes too early in the compiler. 
  513.  
  514. MPW's cpp has a few other nasty habits. I highly recommend RTFM, esp.
  515. the section about "Known Bugs." I know of at least one bug not
  516. documented:  You cannot stringify __LINE__. 
  517. - -- 
  518. Charlie Reiman - creiman@ncsa.uiuc.edu
  519. "People are going to take to voice input like lemmings to the sea."
  520.                      -Tony Bove (MacWeek V.6 N.13)
  521.  
  522.  
  523. +++++++++++++++++++++++++++
  524.  
  525. From: jahnke@biosci.arizona.edu (Jerome Jahnke)
  526. Date: 20 Apr 92 17:59:41 GMT
  527. Organization: Biology Learning Center
  528.  
  529. In article <1992Apr20.071453.9693@ux1.cso.uiuc.edu>, mlanett@void.ncsa.uiuc.edu (Mark Lanett) writes:
  530. > jahnke@biosci.arizona.edu (Jerome Jahnke) writes:
  531. > >Anyway, any help would be appreciated, and if someone could tell me if I am
  532. > >being too picky, or if this is a bonna-fida bug, and might get fixed for 
  533. > >ETO 8?
  534. > Well, now you've done it. You've gone and published an Apple bug on the net.
  535. > Now they know that someone's working around it and will *never* fix it, because
  536. > that would break existing software!
  537. > Well. Apple's MPW 3.1 docs discuss their stupid cpp and they haven't fixed it 
  538. > yet. Don't expect it for ETO8.
  539.  
  540. .. Helpful advice deleted...
  541.  
  542. > This will rez *every* time so I've disabled it. I think that #setfile will
  543. > reenable it, but, hey, you're a programmer and this is the source, so if it's
  544. > broke, you can fix it.
  545.  
  546. Ratzen Fratzen, boy does that make me mad. Oh well I found a slightly easier
  547. way. I am just running the code through the preprocessor twice. Jeeze what a
  548. stupid way to run popcorn stand.
  549.  
  550. > Mark L
  551. > -- 
  552. > Mark Lanett, Software Tools Group, NCSA; mlanett@uiuc.edu; NCSA.STG (AppleLink)
  553.  
  554. Jer,
  555. - ----
  556. Jerome Jahnke
  557. Biology Learning Center
  558. University of Arizona
  559. 'jahnke@biosci.arizona.edu' or +1 (602) 621-3820
  560.  
  561. ---------------------------
  562.  
  563. From: koch@eis.cs.tu-bs.de (Andreas Koch)
  564. Subject: What is the current status of MacTutor?
  565. Date: 20 Apr 92 21:16:15 GMT
  566. Organization: TU Braunschweig,Informatik,EIS,West Germany
  567.  
  568. The subject line says it all. I remember someone posting a while ago
  569. that MacTutor was bought by some other publisher, that there would
  570. be some delays but they expected to be back in April and that they
  571. would add the missing issues to existing subscriptions.
  572.  
  573. The last issue I have is October 1991. Have any issues appeared since?
  574.  
  575. Thanks for any info.
  576.  
  577. +++++++++++++++++++++++++++
  578.  
  579. From: Daryl_Spitzer@mindlink.bc.ca (Daryl Spitzer)
  580. Date: 20 Apr 92 23:34:59 GMT
  581. Organization: MIND LINK! - British Columbia, Canada
  582.  
  583. I found this on AppleLink:
  584.  
  585. Announcing MacTutor Version 2.0...
  586.  
  587. As many of you already know, MacTutor has been on hiatus for the last several
  588. months.  During this time, there has been a change of ownership, change of
  589. staff and an office move.  The magazine has undergone a complete revamping.  On
  590. Friday, April 17, 1992, MacTutor version 2.0 shipped out to subscribers and
  591. dealers.  This first issue of the new magazine is called the April/May issue.
  592. >From this point on, the magazine will return to its regular monthly schedule.
  593. The first issue has a full description of what has happened at the magazine as
  594. well as what will be happening in the future.  Check it out!
  595.  
  596. For more information, please call Xplain Corporation at 310/575-4343 or
  597. AppleLink us at MACTUTOR.
  598.  
  599. Let us know what you think.
  600.  
  601. Thanks,
  602. Neil Ticktin
  603. Editor, MacTutor Magazine
  604.  
  605. Author: MACTUTOR
  606. - --
  607. - -------------------------------------------------------------------
  608.  Daryl_Spitzer@mindlink.bc.ca     "Life isn't just, life just is."
  609.          a2251@mindlink.bc.ca              -- Me  (I think.)
  610.        Spitzer@UNCAMULT.BITNET
  611. - -------------------------------------------------------------------
  612.  
  613. ---------------------------
  614.  
  615. From: mckeeby@seas.gwu.edu (Jon McKeeby)
  616. Subject: Printing
  617. Date: 25 Mar 92 15:42:10 GMT
  618. Organization: George Washington University
  619.  
  620.  
  621.  I am need to print a screen upon user selection.  I have the code working
  622. except for one problem: I need it to print in the wide orientation.  What
  623. do I need to set to get a grafport to print in the wide direction.
  624.  
  625. I do not want the user to select settings to change the size or the orientation
  626. but to do it transparent to the user.  
  627.  
  628. I also need to know:
  629.   How to determine if a printer is connected?  
  630.   Is a printer selected.
  631.   Is there any variation between printers connected through appletalk and
  632.   those which are not connected through appletalk?
  633.  
  634.  
  635. Thank you.
  636.  
  637. Jon
  638.  
  639.  
  640. +++++++++++++++++++++++++++
  641.  
  642. From: danny@utkux1.utk.edu (Danny McCampbell)
  643. Date: 3 Apr 92 14:06:59 GMT
  644. Organization: University of Tennessee
  645.  
  646. Hi all,
  647.  
  648. I have slowly but sure been learning pascal and writing some pretty
  649. neat stuff to work on my mac.  Well, I am up to the point where
  650. I want to print from an application I wrote.  I do not even know
  651. where to start.  Could someone please help me out and tell me
  652. exactly what I have to do to set up a procedure that will call
  653. the print dialog and then send something to the printer.
  654.  
  655. By the way, I will printing pictures from modal dialogs.
  656.  
  657. Thanks.
  658.  
  659. Danny McCampbell
  660.  
  661. +++++++++++++++++++++++++++
  662.  
  663. From: mike@zorch.SF-Bay.ORG (Mike Smithwick)
  664. Organization: SF-Bay Public-Access Unix
  665. Date: Tue, 7 Apr 1992 03:12:34 GMT
  666.  
  667. []
  668.  
  669. I am working on a screen-dump routine for my SW, and have it working 
  670. fine on an antique imagewriter, but it fails on a Laser printer.
  671.  
  672. PrError returns "-192" after the PrOpenDoc() call which means "resource not 
  673. found"?!?!?! What resource do I need for working with a laser printer.
  674. I thought the interface was supposed to be transparent to the programmer.
  675.  
  676. mike
  677.  
  678. - -- 
  679. "There is no problem too big that can't be solved with high explosives"-Rush
  680.  
  681. Mike Smithwick - ames!zorch!mike
  682.  
  683.  
  684. +++++++++++++++++++++++++++
  685.  
  686. From: danny@utkux1.utk.edu (Danny McCampbell)
  687. Date: 7 Apr 92 19:21:52 GMT
  688. Organization: University of Tennessee
  689.  
  690. I have written a small program that involves some text (more than a pages
  691. worth) that I want to send to the printer.   Well, my program uses modal
  692. dialogs and of course in one of the dialogs there is a print button.
  693.  
  694. My question is where should I store the text to print to the printer
  695. and how do I load the text in memory and send it to the printer correctly
  696. formatted?
  697.  
  698. Right now I have the text store in seperate PICT resources (because there
  699. is too much to fit on one screen).  I have added more and back buttons 
  700. that when simply clicked on back up a screen or go forward a screen.
  701.  
  702. I cannot print the PICT's to the printer because that will not look right.
  703. I want to store the text as a document like format, but in the resource
  704. file.  I do not want to use a seperate file if I do not have to.
  705.  
  706. I hope this is clear.  Oh, I did want to mention that I want be using the
  707. print dialogs.  When the user clicks the print button, I want to just
  708. send the text to the printer and thats it.  Thanks in advance.
  709.  
  710. Danny McCampbell
  711.  
  712. +++++++++++++++++++++++++++
  713.  
  714. From: mike@zorch.SF-Bay.ORG (Mike Smithwick)
  715. Organization: SF-Bay Public-Access Unix
  716. Date: Wed, 8 Apr 1992 06:51:01 GMT
  717.  
  718. In article <1992Apr7.031234.21307@zorch.SF-Bay.ORG> mike@zorch.SF-Bay.ORG (Mike Smithwick) writes:
  719. >[]
  720. >
  721. >I am working on a screen-dump routine for my SW, and have it working 
  722. >fine on an antique imagewriter, but it fails on a Laser printer.
  723. >
  724. >PrError returns "-192" after the PrOpenDoc() call which means "resource not 
  725. >found"?!?!?! What resource do I need for working with a laser printer.
  726. >I thought the interface was supposed to be transparent to the programmer.
  727. >
  728.  
  729. One additional note. Yes, the laser printer is hooked up and WORKS with
  730. other software, but fails with mine.
  731.  
  732. mike
  733.  
  734.  
  735.  
  736. - -- 
  737. "There is no problem too big that can't be solved with high explosives"-Rush
  738.  
  739. Mike Smithwick - ames!zorch!mike
  740.  
  741.  
  742. +++++++++++++++++++++++++++
  743.  
  744. From: danny@utkux1.utk.edu (Danny McCampbell)
  745. Date: 8 Apr 92 17:18:39 GMT
  746. Organization: University of Tennessee
  747.  
  748. Hi all, I posted this message yesterday my our news server went south
  749. so I am posting it again just to be sure you all read it.
  750.  
  751. I have a small program using modal dialogs that I want to be able to
  752. print some text from.  Well, in one of the dialogs I have a print
  753. button.  When this button in pressed I want some text printed and 
  754. formatted correctly to the laserwriter.
  755.  
  756. My question is where can I store the text.  The actual text that
  757. the user sees on the screen is located in seperate pict resources.
  758. I want the text to print just like a paged document would.
  759.  
  760. Also, if I do lets say store the text in a text resource how do 
  761. I load the text into memory to send to the printer.
  762.  
  763. I have read the tech notes apple puts out and have looked through
  764. Inside Mac V. I, II, and IV.  I still seem to be puzzled. 
  765.  
  766. Thanks in advance.
  767.  
  768. Danny
  769.  
  770. +++++++++++++++++++++++++++
  771.  
  772. From: gmarzot@mitre.org (G. S. Marzot(Joe))
  773. Date: 20 Apr 92 21:22:03 GMT
  774. Organization: The MITRE Corporation
  775.  
  776. I posted this problem a little while ago but got no response. I can not 
  777. beleive that someone else has not experienced it, since I have seen it in 
  778. another developers program as well.
  779.  
  780. When I go to print an 8-bit deep pixmap using copybits and surrounded by 
  781. all the necessary Print manager calls, all seems to go well but the 
  782. printed image comes out with some fuzz(i.e., random bits) on a strip at 
  783. the edge.  I have set clipping regions and done everything else I can 
  784. think of.
  785.  
  786. Please, if anyone has dealt with this before and solved it I would be 
  787. grateful for a clue.
  788. Thanks, GSM
  789.  
  790. routine disclaimer
  791.  
  792. ---------------------------
  793.  
  794. From: drake@coast.ucsd.edu (Tom Drake)
  795. Subject: programming editor for Quadra
  796. Date: 5 Apr 1992 23:45:22 GMT
  797. Organization: U.C. San Diego - SIO
  798.  
  799. Is there a good editor for programming (C, Fortran, etc) on
  800. the Quadra that can be had cheaply.  Something along the lines
  801. of the old Apple editor Edit (maybe there's a newer incarnation
  802. of this) or the THINK C editor.
  803. Thanks, Tom Drake
  804.  
  805.  
  806. +++++++++++++++++++++++++++
  807.  
  808. From: ksand@apple.com (Kent Sandvik)
  809. Date: 10 Apr 92 23:02:31 GMT
  810. Organization: MacDTS Mongols
  811.  
  812. In article <ktv48iINNqm7@network.ucsd.edu>, drake@coast.ucsd.edu (Tom Drake)
  813. writes:
  814. > Is there a good editor for programming (C, Fortran, etc) on
  815. > the Quadra that can be had cheaply.  Something along the lines
  816. > of the old Apple editor Edit (maybe there's a newer incarnation
  817. > of this) or the THINK C editor.
  818. > Thanks, Tom Drake
  819.  
  820. I like Alpha, it's a PD editor which has a lot of Emacs bindings
  821. (which is the reason I like it, somehow years of Emacs use has
  822. hard-wired my brain to the key bindings...). Alpha should 
  823. we available at sumex-aim and similar ftp sites. And yes, it
  824. has electric-C mode!
  825.  
  826.  
  827.  
  828. Cheers,
  829. Kent
  830.  
  831. +++++++++++++++++++++++++++
  832.  
  833. From: chanson@gagme.chi.il.us (Chris Hanson)
  834. Organization: Gagme Public Access UNIX, Chicago, Illinois.
  835. Date: Thu, 16 Apr 1992 21:27:43 GMT
  836.  
  837. I don't know how much like Edit you want, since my suggestion is of a
  838. decidedly different flavor, but here it goes...
  839.  
  840. I use MicroEMACS 3.10 for all my editing on the Mac, because
  841.  
  842. a) I have it on my PC and it's at Gagme as well (see Organization:),
  843.    and I like the cross-platform stuff.
  844.  
  845. b) It has a command language.
  846.  
  847. c) It has a really cool C command page (NOT the builtin cmode; a much
  848. better page is available).
  849.  
  850. I can't remember the name of the dude that ported it... the readme
  851. said he was giving back the Mac II he wrote it on (to go to the Other
  852. Side -- programming for that hated GUI kidstuff).  Anyway, I happen to
  853. like it and can send it to ya if you can't find a copy.  It should
  854. work on your Quadra -- it's worked on EVERY machine I've tried it on
  855. without a hitch.  Also, I can't find source, anyone with source to
  856. this (with the Mac-specific parts), please drop me a note, I NEED this
  857. to find out how to do some other display stuff (I want to attempt a
  858. REAL emacs port).  Thanx.
  859.  
  860.   CYA,
  861. Chris
  862.  
  863. - -- 
  864. ===============================================================================
  865. chanson@gagme.chi.il.us    | "People are mostly stupid and hateful and cruel to
  866. Chris Hanson        | one another but--hell; let's save the world's a*
  867. Identify the quote! ->    | anyway.  It's better than being bored." -- Rook
  868.  
  869. ---------------------------
  870.  
  871. From: scott@mcl.mcl.ucsb.edu (Scott Bronson)
  872. Subject: What's the best debugger?
  873. Date: 6 Apr 92 00:30:29 GMT
  874.  
  875. I have reached a stage in my projects where I would like to use
  876. the most effective debugger know to Macintosh.  I own TMON, I have
  877. MacsBug in the wings and waiting, and (I bought this LONG ago) Jasik's
  878. MacNosy/Debugger.  I acutally really like debugging software because
  879. the gut-grinding frustration you feel is overshadowed by the incredible
  880. elation of finally stomping that bug out.  Or, perhaps, I'm taking
  881. debugging way to personally.
  882.  
  883. I would just like to hear what people thing of the object-level debuggers
  884. out today.  Incidentally, I use THINK C for everything right now, but
  885. I plan on buying MPW eventually (soon as I can scrape enough cash
  886. together).  Following are my impressions of the products I own.  Do
  887. I know what I'm talking abouut?  Well, you tell me by following up
  888. to this post.  :-)
  889.  
  890. Or, if it's a small little thing you're saying, mail me and I'll post
  891. a summary.  Basically, I would like to get a very lengthly file on
  892. what a debugger can and cannot do, and tips and techniques for all of
  893. them.
  894.  
  895. It seems that MacsBug is be the low-end debugger.  I would think that
  896. TMON and The Debugger would do everything MacsBug can do and more. 
  897. However, it seems that MacsBug has better and more documentation than
  898. any of the debuggers out.
  899.  
  900. When I used The Debugger (original version) to debug an app I wrote on
  901. an SE, it crashed as many times as did my application.  I have yet to have
  902. MacsBug or TMON crash even once.  The documentation was piecemeal.  It had
  903. a good tutorial but a horrible technical reference.  I can forgive home-
  904. made packaging, but it's awfully hard to learn anything from a poorly
  905. written manual.  Though Steve Jasik has lots to learn about effective
  906. interfaces and documentation, from the popular opinion I've heard, he
  907. seems to write good debuggers.  Should I upgrade my debugger so I can use
  908. it on my Mac IIci now?
  909.  
  910. TMON looks incredibly powerful.  It's got its own scripting language,
  911. it's amazingly user-modifiable, it's very robust, and aside from the
  912. button bar along the top (ugh), the interface looks very good.  A little
  913. more mousing is needed than I would like, but I find it far nicer to
  914. use than MacsBug's CLI.  It's documentation is rather hard to follow,
  915. though, and there's certainly not enough of it.  Kudos to Waldemar Horwat
  916. adn Michael Bentley for trying to cram all that knowledge into two small
  917. ~200 page manuals, but there's too much information on what TMON Pro does
  918. and not enough on how to actually *use* these features. 
  919.  
  920.     - Scott
  921.  
  922.                       +----------------: SCOTT BRONSON :-----------------+
  923. +---------------------|  scott@mcl.ucsb.edu    2025sbsb@ucsbuxa.ucsb.edu |
  924. |       /_  /)        | 6850 El Colegio Road #234; Goleta, CA 93117-4300 |
  925. |        / /_)        +==================================================+
  926. +=========================+
  927.  
  928.  
  929. +++++++++++++++++++++++++++
  930.  
  931. From: neeri@iis.ethz.ch (Matthias Ulrich Neeracher)
  932. Organization: Integrated Systems Laboratory, ETH, Zurich
  933. Date: Mon, 6 Apr 1992 10:49:03 GMT
  934.  
  935. In article <scott.702520229@mcl> scott@mcl.mcl.ucsb.edu (Scott Bronson) writes:
  936. >I have reached a stage in my projects where I would like to use
  937. >the most effective debugger know to Macintosh.  I own TMON, I have
  938. >MacsBug in the wings and waiting, and (I bought this LONG ago) Jasik's
  939. >MacNosy/Debugger.  I acutally really like debugging software because
  940. >the gut-grinding frustration you feel is overshadowed by the incredible
  941. >elation of finally stomping that bug out.  Or, perhaps, I'm taking
  942. >debugging way to personally.
  943. >
  944. >It seems that MacsBug is be the low-end debugger.  I would think that
  945. >TMON and The Debugger would do everything MacsBug can do and more. 
  946. >However, it seems that MacsBug has better and more documentation than
  947. >any of the debuggers out.
  948.  
  949. Other advantages of MacsBug is that it is stable and reasonably extensible.
  950. Versions earlier than 6.x were painful, but I like the current versions.
  951.  
  952. >When I used The Debugger (original version) to debug an app I wrote on
  953. >an SE, it crashed as many times as did my application.
  954.  
  955. I'm glad someone else confirms my experience. Jasik's programs have a
  956. tremendous functionality, but a lousy user interface and documentation.
  957.  
  958. >TMON looks incredibly powerful.  It's got its own scripting language,
  959. >it's amazingly user-modifiable, it's very robust, and aside from the
  960. >button bar along the top (ugh), the interface looks very good.  A little
  961. >more mousing is needed than I would like, but I find it far nicer to
  962. >use than MacsBug's CLI.
  963.  
  964. There are a few keys to learn with MacsBugs editing, and it certainly isn't as
  965. powerful as TMON.
  966.  
  967. I'd like to add a few opinions about the two Apple source code debuggers:
  968.  
  969. SADE is powerful, but not easy enough to use. SourceBug is much nicer, and
  970. doesn't lack much functionality you'd ever need. One problem I have with both
  971. is that they won't work with standalone resources. SourceBug doesn't even debug
  972. MPW tools (else, I would probably use it much more frequently).
  973.  
  974. Matthias
  975.  
  976. - -----
  977. Matthias Neeracher                                      neeri@iis.ethz.ch
  978.  `We say "gestalt" when things combine to act in ways we can't explain'
  979.                              -- Marvin Minsky, _The Society Of Mind_
  980.  
  981. +++++++++++++++++++++++++++
  982.  
  983. From: dorner@pequod.cso.uiuc.edu (Steve Dorner)
  984. Date: 6 Apr 92 16:56:11 GMT
  985. Organization: University of Illinois at Urbana-Champaign
  986.  
  987. neeri@iis.ethz.ch (Matthias Ulrich Neeracher) writes:
  988. >SADE is powerful, but not easy enough to use.
  989.  
  990. SADE makes you spend quite a bit of time programming your debugger, rather
  991. than debugging your program.  I find this frustrating, but it isn't the
  992. end of the world.
  993.  
  994. I find SADE's performance quite acceptable; now that I have my Quadra.
  995. Before that, SADE was sort of slow; again, not the end of the world,
  996. but inconvenient.
  997.  
  998. What *IS* the end of the world (:-)) is that SADE is unable to view
  999. the contents of variables before the current stack frame, if those variables
  1000. are in registers.  Compounding the problem is that MPW's C compiler lacks
  1001. a switch to keep variables out of registers. [Yes, I know that I could add
  1002. code to each of my declarations to force variables out of registers, but that's
  1003. a mess and a big pain in the tush.]  This is a major deficiency.
  1004.  
  1005. When I have a sticky debugging problem that doesn't involve the toolbox
  1006. (eg, parsing routines), I move the code to my cube and use gdb.  Gdb has
  1007. SADE beaten hands down in most areas, including the ability to inspect
  1008. previous stack frames.
  1009. - -- 
  1010. Steve Dorner, U of Illinois Computing Services Office
  1011. Internet: s-dorner@uiuc.edu  UUCP: uunet!uiucuxc!uiuc.edu!s-dorner
  1012.  
  1013. +++++++++++++++++++++++++++
  1014.  
  1015. From: neeri@iis.ethz.ch (Matthias Ulrich Neeracher)
  1016. Organization: Integrated Systems Laboratory, ETH, Zurich
  1017. Date: Mon, 6 Apr 1992 10:49:03 GMT
  1018.  
  1019. In article <scott.702520229@mcl> scott@mcl.mcl.ucsb.edu (Scott Bronson) writes:
  1020. >I have reached a stage in my projects where I would like to use
  1021. >the most effective debugger know to Macintosh.  I own TMON, I have
  1022. >MacsBug in the wings and waiting, and (I bought this LONG ago) Jasik's
  1023. >MacNosy/Debugger.  I acutally really like debugging software because
  1024. >the gut-grinding frustration you feel is overshadowed by the incredible
  1025. >elation of finally stomping that bug out.  Or, perhaps, I'm taking
  1026. >debugging way to personally.
  1027. >
  1028. >It seems that MacsBug is be the low-end debugger.  I would think that
  1029. >TMON and The Debugger would do everything MacsBug can do and more. 
  1030. >However, it seems that MacsBug has better and more documentation than
  1031. >any of the debuggers out.
  1032.  
  1033. Other advantages of MacsBug is that it is stable and reasonably extensible.
  1034. Versions earlier than 6.x were painful, but I like the current versions.
  1035.  
  1036. >When I used The Debugger (original version) to debug an app I wrote on
  1037. >an SE, it crashed as many times as did my application.
  1038.  
  1039. I'm glad someone else confirms my experience. Jasik's programs have a
  1040. tremendous functionality, but a lousy user interface and documentation.
  1041.  
  1042. >TMON looks incredibly powerful.  It's got its own scripting language,
  1043. >it's amazingly user-modifiable, it's very robust, and aside from the
  1044. >button bar along the top (ugh), the interface looks very good.  A little
  1045. >more mousing is needed than I would like, but I find it far nicer to
  1046. >use than MacsBug's CLI.
  1047.  
  1048. There are a few keys to learn with MacsBugs editing, and it certainly isn't as
  1049. powerful as TMON.
  1050.  
  1051. I'd like to add a few opinions about the two Apple source code debuggers:
  1052.  
  1053. SADE is powerful, but not easy enough to use. SourceBug is much nicer, and
  1054. doesn't lack much functionality you'd ever need. One problem I have with both
  1055. is that they won't work with standalone resources. SourceBug doesn't even debug
  1056. MPW tools (else, I would probably use it much more frequently).
  1057.  
  1058. Matthias
  1059.  
  1060. - -----
  1061. Matthias Neeracher                                      neeri@iis.ethz.ch
  1062.  `We say "gestalt" when things combine to act in ways we can't explain'
  1063.                              -- Marvin Minsky, _The Society Of Mind_
  1064.  
  1065. +++++++++++++++++++++++++++
  1066.  
  1067. From: dorner@pequod.cso.uiuc.edu (Steve Dorner)
  1068. Date: 6 Apr 92 16:56:11 GMT
  1069. Organization: University of Illinois at Urbana-Champaign
  1070.  
  1071. neeri@iis.ethz.ch (Matthias Ulrich Neeracher) writes:
  1072. >SADE is powerful, but not easy enough to use.
  1073.  
  1074. SADE makes you spend quite a bit of time programming your debugger, rather
  1075. than debugging your program.  I find this frustrating, but it isn't the
  1076. end of the world.
  1077.  
  1078. I find SADE's performance quite acceptable; now that I have my Quadra.
  1079. Before that, SADE was sort of slow; again, not the end of the world,
  1080. but inconvenient.
  1081.  
  1082. What *IS* the end of the world (:-)) is that SADE is unable to view
  1083. the contents of variables before the current stack frame, if those variables
  1084. are in registers.  Compounding the problem is that MPW's C compiler lacks
  1085. a switch to keep variables out of registers. [Yes, I know that I could add
  1086. code to each of my declarations to force variables out of registers, but that's
  1087. a mess and a big pain in the tush.]  This is a major deficiency.
  1088.  
  1089. When I have a sticky debugging problem that doesn't involve the toolbox
  1090. (eg, parsing routines), I move the code to my cube and use gdb.  Gdb has
  1091. SADE beaten hands down in most areas, including the ability to inspect
  1092. previous stack frames.
  1093. - -- 
  1094. Steve Dorner, U of Illinois Computing Services Office
  1095. Internet: s-dorner@uiuc.edu  UUCP: uunet!uiucuxc!uiuc.edu!s-dorner
  1096.  
  1097. +++++++++++++++++++++++++++
  1098.  
  1099. From: peirce@outpost.SF-Bay.org (Michael Peirce)
  1100. Date: 9 Apr 92 05:13:56 GMT
  1101. Organization: Peirce Software
  1102.  
  1103. I've been living inside Jasik's Debugger lately (I'm working part
  1104. time on a contract *just* debugging).
  1105.  
  1106. Jasik's Debugger has a few warts, mainly some weird UI things, but
  1107. it also is simply excellent at doing its job.
  1108.  
  1109. I view it as a industrial strength power tool.  Once you learn it,
  1110. you can perform miracles, but like other ISPTs it has to be mastered
  1111. with care.  It helps ALOT to have someone around who can teach you
  1112. how it works.
  1113.  
  1114. I know alot of programmers and almost all who are doing serious MPW
  1115. work use Jasik's Debugger.
  1116.  
  1117. Macsbug has it's place too - there are a few clever DCMDs floating around
  1118. that are handy.
  1119.  
  1120. I used TMON a little before it went pro.  I personally don't like
  1121. the pro version.  Its UI makes Jasik's look wonderful.
  1122.  
  1123. SADE.  Well, I really don't like debuggers that are just another app. 
  1124. I find it much nice to have them hiding - no funny update problems
  1125. caused by them that.  SADE is an App and does get "in the way".
  1126.  
  1127. So, in summary.  If you are serious, take the time to learn Jasik's Debugger.
  1128. It's well worth the trouble!
  1129.  
  1130. - --  Michael Peirce         --   peirce@outpost.SF-Bay.org
  1131. - --  Peirce Software        --   Suite 301, 719 Hibiscus Place
  1132. - --  Macintosh Programming  --   San Jose, California USA 95117
  1133. - --           & Consulting  --   voice: (408) 244-6554 fax: (408) 244-6882
  1134. - --                         --   AppleLink: peirce & America Online: AFC Peirce
  1135.  
  1136. +++++++++++++++++++++++++++
  1137.  
  1138. From: sumner@opusc.csd.scarolina.edu (David Sumner)
  1139. Date: 9 Apr 92 13:57:02 GMT
  1140. Organization: Univ. of South Carolina, Columbia
  1141.  
  1142.  
  1143.  
  1144. Michael Peirce writes:
  1145.  
  1146. >I used TMON a little before it went pro.  I personally don't like
  1147. >the pro version.  Its UI makes Jasik's look wonderful.
  1148.  
  1149. Naturally, there is a lot of room for tastes in the choice of a debugger, 
  1150. but just to throw my two cents in, I'll take TMON Pro over Jasik's 
  1151. Debugger any day. I personally love the new TMON interface and 
  1152. find it easy to use for my purposes. I do like NOSY a lot, however. I 
  1153. use it at least as much as I use TMON - and that's quite a bit.
  1154.  
  1155. David Sumner
  1156.  
  1157.  
  1158. +++++++++++++++++++++++++++
  1159.  
  1160. From: cory@enigami.mv.com (Cory Kempf)
  1161. Date: Sun, 12 Apr 92 14:14:35 EST
  1162. Organization: EnigamI, Inc., Nashua, NH
  1163.  
  1164.  
  1165. In article <scott.702520229@mcl> (comp.sys.mac.programmer), scott@mcl.mcl.ucsb.edu (Scott Bronson) writes:
  1166. >I have reached a stage in my projects where I would like to use
  1167. >the most effective debugger know to Macintosh.  I own TMON, I have
  1168. >MacsBug in the wings and waiting, and (I bought this LONG ago) Jasik's
  1169. >MacNosy/Debugger.
  1170.  
  1171. >I would just like to hear what people thing of the object-level debuggers
  1172. >out today.  Incidentally, I use THINK C for everything right now, but
  1173. >I plan on buying MPW eventually (soon as I can scrape enough cash
  1174. >together).
  1175.  
  1176. I use MPW, and so have access to SADE, SourceBug, and MacsBug.  I
  1177. also own a copy of Jasik's Debugger.  I have never used TMON, so I
  1178. can't comment on that.
  1179.  
  1180. When I am debugging C++, I almost ALWAYS use Sourcebug and Macsbug
  1181. in combination -- they work well together.  There are some things
  1182. that I want Macsbug for, there are some things that I want Sourcebug
  1183. for.  Macsbug is a very good assembly debugger, but it can grok (translate)
  1184. C++ method names.  With its 'dcmd' capability, I have several very
  1185. valuable additional tools that have been added to it to do several
  1186. specialized tasks.  Macsbug is also always available.
  1187.  
  1188. Sourcebug is a source level debugger.  It works with a variety of
  1189. languages, but I think it secretly is in love with Object Pascal and
  1190. MacApp.  It does fairly well with Non-MacApp C++ though.  It is a
  1191. very easy to use, friendly debugger.  It also groks objects, which
  1192. is essential to me.  It is not all that powerful though.
  1193.  
  1194. SADE I almost never use.  I'm sure it is very powerful, with the capability
  1195. of writing scripts to calculate fibonacci numbers and all, but it
  1196. is really stuck in a world of Pascal.  You can debug C++ or C in it,
  1197. but the data structs end up smelling of Pascal.  Personally, I find
  1198. it to be a UI disaster, and very difficult to use more than about
  1199. 20% or so of its capabilities.  The new version is supposed to be
  1200. able to use the MMU to protect code, but all it did for me was crash
  1201. my system and corrupt the Q900's RAM disk.
  1202.  
  1203. Jasik's Disast --- err, Debugger.  It is very powerful.  The documentation
  1204. is a mess, real spaggetti.  It does have a lot of abilities that the
  1205. other debuggers don't have: it can source debug C++ in an arbitrary
  1206. code resource, for example.  However, Steve Jasik has never heard
  1207. of the Mac User Interface guidelines, and when I mentioned the idea
  1208. to him, he commented that it would cost him $5000 to print up new
  1209. manuals to make it conform, and that was too much.  It also does not
  1210. support the Extended Keyboard, 'cause Steve doesn't own one.  Personally,
  1211. I found it really very painful to use, and when it and my Q900's RAM
  1212. disk could not co-exist, I stopped using it altogether. (I re-wrote
  1213. my Photoshop plug in as an Application, and now use SourceBug on the
  1214. Application.  It works, after a fashion, and I am much less frustrated)).
  1215.  
  1216. +C
  1217.  
  1218.  
  1219. - -------------------------------------------------------------
  1220. Cory Kempf                    EnigamI, Inc.
  1221. cory@enigami.mv.com           ...!decvax!enigami!cory
  1222. Microsoft Free and Proud Of It!... 
  1223.                            ...Microsoft Products: Just Say no.
  1224.  
  1225. +++++++++++++++++++++++++++
  1226.  
  1227. From: tom@dtint.uucp (Thomas R. Kimpton)
  1228. Organization: Digital Technology, International
  1229. Date: Thu, 16 Apr 92 00:03:28 GMT
  1230.  
  1231.  
  1232. One of the reasons I like MacsBug is that I can put it on
  1233. everyone's machine (it doesn't take an arm and a leg of RAM)
  1234. and rest assured that if something happens I can do some
  1235. quick and dirty debugging without worrying about licensing
  1236. hassles.  Although I do get questioned occasionally about
  1237. a weird window on their screen :-).
  1238.  
  1239. - -- 
  1240. - ---
  1241. Tom Kimpton                            tom@dtint.dtint.com
  1242. Digital Technology Int.                (801)226-2984    
  1243. 500 W. 1200 South, Orem UT, 84057      FAX (801) 226-8438
  1244.  
  1245. ---------------------------
  1246.  
  1247. End of C.S.M.P. Digest
  1248. **********************
  1249.